<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/views/commons/taglibs.jsp"%>
<%@ taglib prefix="sys" tagdir="/WEB-INF/tags" %>
<html>
<head>
    <title>用户license详情页面</title>
    <jsp:include page="../../commons/common-add.jsp"></jsp:include>
    <script type="text/javascript" src="${basePath}/statics/modules/license/js/license_basic_information.js"></script>
</head>
<body>
<sys:message msgContent="${message}"/>
<div class="box-body">
    <form id="inputForm"
          action="${basePath}/admin/license/license_add" method="post"  class="form-horizontal">
            <div class="row form-group line-height-34">
            <label for="licenseName" class="col-sm-3 control-label text-pull-right">
                License名称
                </label>
            <div class="col-sm-4">
                <input disabled="disabled" type="text" autofocus class="form-control" id="licenseName" name="licenseName" placeholder="License名称"  value="${license.subject}">
            </div>
            </div>

            <div class="row form-group line-height-34">
                <label for="licenseVersion" class="col-sm-3 control-label text-pull-right">
                    License 版本信息
                </label>
                <div class="col-sm-4">
                        <input disabled="disabled" type="text" class="form-control"  id="licenseVersion" name="licenseVersion" placeholder="License 版本信息"  value="${license.type_id}>
                </div>
            </div>

            <div class="row form-group line-height-34">
                <label for="licenseMaster" class="col-sm-3 control-label text-pull-right">License 主机管理数量</label>
                <div class="col-sm-4">
                    <input disabled="disabled" type="text" class="form-control"  id="licenseMaster" name="licenseMaster" placeholder="License 主机管理数量" value="${license.machine} >
                </div>
            </div>

            <div class="row form-group line-height-34">
                <label for="licenseStartTime" class="col-sm-3 control-label text-pull-right">
                    License 开始时间
                </label>

                <div class="col-sm-4">
                    <input disabled="disabled" type="date"  class="form-control " id="licenseStartTime" name="licenseStartTime" placeholder="License 开始时间"  value="${license.not_before}">
                </div>
            </div>

            <div class="row form-group line-height-34">
                <label for="license.not_after" class="col-sm-3 control-label text-pull-right">License 结束时间</label>
                <div class="col-sm-4">
                    <input disabled="disabled" type="text"  class="form-control digits"  id="license.not_after" name="license.not_after" placeholder="License 结束时间" value="${license.not_after}">
                </div>
            </div>

            <div class="row form-group line-height-34">
                <label for="licenseDescription" class="col-sm-3 control-label text-pull-right">
                    License 描述信息
                </label>
                <div class="col-sm-4">
                    <input disabled="disabled" type="text"  class="form-control " id="licenseDescription" name="licenseDescription" placeholder="License 描述信息"  cols="15" rows="7"value="${license.info}">
                </div>
            </div>

            <div class="row form-group line-height-34">
                <label for="licenseIP" class="col-sm-3 control-label text-pull-right">IP</label>
                <div class="col-sm-4">
                    <input disabled="disabled" type="text" class="form-control" id="licenseIP" name="licenseIP" placeholder="IP"  value="${license.ip}" >
                </div>
            </div>

            <div class="row form-group line-height-34">
                <label for="licenseFixedDisk" class="col-sm-3 control-label text-pull-right">硬盘信息</label>
                <div class="col-sm-4">
                    <input disabled="disabled" type="text" class="form-control required" id="licenseFixedDisk" name="licenseFixedDisk" placeholder="硬盘信息"  value="${license.disk}" >
                </div>
            </div>

            <div class="row form-group line-height-34">
                <label for="licenseMacAddress" class="col-sm-3 control-label text-pull-right">Mac地址</label>
                <div class="col-sm-4">
                    <input disabled="disabled" type="text" class="form-control required" id="licenseMacAddress" name="licenseMacAddress" placeholder="Mac地址"  value="${license.mac}" >
                </div>
            </div>

            <div class="row form-group line-height-34">
                <label for="motherboard" class="col-sm-3 control-label text-pull-right">主板序列号</label>
                <div class="col-sm-4">
                    <input disabled="disabled" type="text" class="form-control" id="motherboard" name="motherboard" placeholder="主板序列号"  value="${license.motherboard}" >
                </div>
            </div>

            <div class="row form-group line-height-34">
                <label for="system" class="col-sm-3 control-label text-pull-right">系统序列号</label>
                <div class="col-sm-4">
                    <input disabled="disabled" type="text" class="form-control " id="system" name="system" placeholder="系统序列号"  value="${license.system}" >
                </div>
            </div>

            <div class="row form-group line-height-34">
                <label for="cpu" class="col-sm-3 control-label text-pull-right">CPU序列号</label>
                <div class="col-sm-4">
                    <input disabled="disabled" type="text" class="form-control" id="cpu" name="cpu" placeholder="CPU序列号"  value="${license.cpu}" >
                </div>
            </div>
    </form>
</div>
</body>
</html>